package com.hxit.huaxiamelongarden.domin.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @ClassName Friend
 * @description 好友实体类
 * @Author 12694
 * @Date 2025/1/30 11:15
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("friends")
@EqualsAndHashCode(of = {"userId", "friendId"})
public class Friend {
    //用户id
    private Integer userId;
    //好友id
    private Integer friendId;
    //状态
    private Integer status;
    //创建时间
    private Timestamp createdAt;
}
